import request from '@/utils/request'

export const addLabelToUser = (data) => {
  return request({
    url: '/employ/contract/addLabelToUser',
    method: 'post',
    data
  })
}

// 查询人员标签详情
export const labelUserInfo = (id) => {
  return request({
    url: `/employ/contract/info/${id}`,
    method: 'get'
  })
}

// 人员标签的删除
export const deleteLabel = (data) => {
  return request({
    url: `/employ/label/delete`,
    method: 'delete',
    data
  })
}
